import { configureStore } from "@reduxjs/toolkit";
// import userReducer from './user';
import editorReducer from './editor';

 const store = configureStore({
    reducer:{
        // user: userReducer,
        editor:editorReducer,
    },
});

export type RootState = ReturnType<typeof store.getState>;
export type AppDispatch = typeof store.dispatch;
export default store;